/**
 * Lenovo Group
 * Copyright (c) 1999-2016 All Rights Reserved.
 */
package com.lenovo.lmrp.api.model.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author wujin
 * @version v1.0
 */
@Entity
@Table(name="lmrp_registered_itsm")
public class TicketSystemPO {
    
    public static enum TicketSystemStatus{
        DISABLED, ENABLED, DELETED
    }
    
    @Id
    @Column
    private String itsmCode;
    
    private String name;
    
    private String description;
    
    @Enumerated(EnumType.ORDINAL)
    private TicketSystemStatus status;
    
    private Date registeredTime;
    
    private Date updateTime;
    
    @Column
    private String params;

    public String getItsmCode() {
        return itsmCode;
    }

    public void setItsmCode(String itsmCode) {
        this.itsmCode = itsmCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public TicketSystemStatus getStatus() {
        return status;
    }

    public void setStatus(TicketSystemStatus status) {
        this.status = status;
    }

    public Date getRegisteredTime() {
        return registeredTime;
    }

    public void setRegisteredTime(Date registeredTime) {
        this.registeredTime = registeredTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }
}
